// --------------------------------------------------------------------------------------------------------------------
// <copyright file="UcFilterBase.cs" company="SmartPlan">
//   SmartPlan 2011
// </copyright>
// <summary>
//   The uc filter base.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace DbDiff.WinClient.Forms.DbItems
{
    using System.ComponentModel;
    using System.Windows.Forms;

    /// <summary>
    /// The uc filter base.
    /// </summary>
    public class UcFilterBase : UserControl
    {
        /// <summary>
        /// The defaultheight.
        /// </summary>
        private const int DEFAULTHEIGHT = 64;

        /// <summary>
        /// Initializes a new instance of the <see cref="UcFilterBase"/> class.
        /// </summary>
        public UcFilterBase()
        {
            this.InitializeComponent();
            this.Dock = DockStyle.Top;
            this.Height = DEFAULTHEIGHT;
        }


        /// <summary>
        /// The get default height.
        /// </summary>
        /// <returns>
        /// The get default height.
        /// </returns>
        public virtual int GetDefaultHeight()
        {
            return DEFAULTHEIGHT;
        }

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">
        /// The disposing.
        /// </param>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
            }

            base.Dispose(disposing);
        }

        #region Component Designer generated code
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            // 
            // UcFilterBase
            // 
            this.Name = "UcFilterBase";
            this.Size = new System.Drawing.Size(592, 64);

        }
        #endregion
    }
}